import request from "../request";

/**
 * 
 * @param ids 歌曲id
 * @returns 歌曲详情
 */
export function getSongDetail(ids: number) {
  return request({
    url: "/song/detail",
    params: {
      ids
    }
  })
}

/**
 * 
 * @param id 歌曲id
 * @returns 歌曲歌词
 */
export function getLyric(id: number) {
  return request({
    url: "/lyric",
    params: {
      id
    }
  })
}